﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Directory.Web._Default" Theme="Default" MasterPageFile="~/DefaultMasterPage.master" Codebehind="Default.aspx.cs" %>

<asp:Content ContentPlaceHolderID="head" runat="server" >
		<title><% = Directory.Web.WebSettings.GetInstance().SiteName %> — 主页</title>
</asp:Content>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div class="main_search">
		<DirectoryControl:SearchBar runat="server" ID="SearchBar" />
	</div>
</asp:Content>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
	<!--MAIN-->
	<asp:Repeater ID="rptCN" runat="server">
		<ItemTemplate>
			<div class="<%# Container.ItemIndex%2==0?"FL":"FL_RIGHT" %> index_main">
				<DirectoryControl:CategoryNavigator runat="server" Title='<%# Eval("CategoryName") %>' CategoryId='<%# int.Parse(Eval("CategoryId").ToString()) %>'/>
			</div>
		</ItemTemplate>
	</asp:Repeater>
	<!--MAIN over-->
</asp:Content>
